<template>
  <n-loading-bar-provider>
    <n-message-provider>
      <n-dialog-provider>
        <n-notification-provider>
          <slot name="default"></slot>
        </n-notification-provider>
      </n-dialog-provider>
    </n-message-provider>
  </n-loading-bar-provider>
  <n-global-style />
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import {
  NDialogProvider,
  NNotificationProvider,
  NMessageProvider,
  NLoadingBarProvider
} from 'naive-ui'

export default defineComponent({
  components: {
    NDialogProvider,
    NNotificationProvider,
    NMessageProvider,
    NLoadingBarProvider
  },
  setup() {
    return {}
  }
})
</script>
